package backend.project.gym_management.mapper;

import backend.project.gym_management.pojo.entity.CoachIntroduction;
import backend.project.gym_management.pojo.entity.Course;
import backend.project.gym_management.pojo.entity.CourseIntroduction;
import backend.project.gym_management.pojo.vo.CoachCourseVO;
import backend.project.gym_management.pojo.vo.CoachEnrollmentVO;
import backend.project.gym_management.pojo.vo.CoachIntroductionVO;
import backend.project.gym_management.pojo.vo.UserHealthDataVO;

import java.util.List;

public interface CoachMapper {
    List<CoachCourseVO> selectCourseByEid(Long eid);
    int insertCourse(Course course);
    CourseIntroduction selectCourseIntroductionByCid(Long cid);
    int insertCourseIntroduction(CourseIntroduction courseIntroduction);
    int updateCourseIntroduction(CourseIntroduction courseIntroduction);
    List<CoachEnrollmentVO> selectEnrollmentByCid(Long cid);
    UserHealthDataVO selectUserHealthByUid(Long uid);

    CoachIntroductionVO selectCoachIntroductionByEid(Long eid);
    int insertCoachIntroduction(CoachIntroduction coachIntroduction);
    int updateCoachIntroduction(CoachIntroduction coachIntroduction);
}
